Home
last modified time | relevance | path

Searched hist:"471799 d1" (Results 1 – 1 of 1) sorted by path

/qemu/block/
H A Dnfs.c471799d1 Thu May 08 14:34:44 GMT 2014 Stefan Hajnoczi <stefanha@redhat.com> nfs: implement .bdrv_detach/attach_aio_context()

Drop the assumption that we're using the main AioContext. The following
functions need to be converted:
* qemu_bh_new() -> aio_bh_new()
* qemu_aio_set_fd_handler() -> aio_set_fd_handler()
* qemu_aio_wait() -> aio_poll()

The .bdrv_detach/attach_aio_context() interfaces also need to be
implemented to move the fd handler from the old to the new AioContext.

Cc: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Lieven <pl@kamp.de>